
import { createStore,combineReducers } from "redux";
// createStore 用来创建 store ,combineReducers 将所有函数构建成一个 函数树

import topics from './reducer/topics';

const store = createStore(
    combineReducers({
        topics
    })
)

export default store;